#ifndef __GPIO_H
#define __GPIO_H
#include "CH554.H"
#define GPIO_INTERRUPT   1 

typedef enum{
      gpioModeFloatInput = 0,
      gpioModePushPullUpInputOutput,
      gpioModeOpenDrainInputOutput,
      gpioModeOpenDrainPullUpInputOutput,
} GpioMode_t;
  

void GpioCfgP1(GpioMode_t Mode,uint8_t Pin);
void GpioCfgP3(GpioMode_t Mode,uint8_t Pin);

void GPIOInterruptCfg();

#endif
